package com.sc.byahi.user.client.components.maps;

import com.google.gwt.ajaxloader.client.Properties;
import com.google.gwt.ajaxloader.client.Properties.TypeException;

public class MDragEndHandlerRegistration {

	protected static void onCallback(MDragEndHandler handler, Properties event) {
		try {
			LatLng l = (LatLng) event.getObject("latLng").cast();
		} catch (TypeException e) {
			e.printStackTrace();
		}

		MDragEndEvent mapDragEndEvent = new MDragEndEvent(event);
		handler.onEvent(mapDragEndEvent);
	}

}
